package cn.demographic.entity;

public class Live {
    private Integer id;

    private String province;

    private String city;

    private String county;

    private String township;

    private String village;

    private String gates;
    
    /*关联信息*/
    private Address_province address_province;
    private Address_city address_city;
    private Address_county address_county;
    
    

    public Address_province getaddress_province() {
		return address_province;
	}

	public void setaddress_province(Address_province address_province) {
		this.address_province = address_province;
	}

	public Address_city getAddress_city() {
		return address_city;
	}

	public void setAddress_city(Address_city address_city) {
		this.address_city = address_city;
	}

	public Address_county getAddress_county() {
		return address_county;
	}

	public void setAddress_county(Address_county address_county) {
		this.address_county = address_county;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county == null ? null : county.trim();
    }

    public String getTownship() {
        return township;
    }

    public void setTownship(String township) {
        this.township = township == null ? null : township.trim();
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village == null ? null : village.trim();
    }

    public String getGates() {
        return gates;
    }

    public void setGates(String gates) {
        this.gates = gates == null ? null : gates.trim();
    }

	@Override
	public String toString() {
		return "Live [id=" + id + ", province=" + province + ", city=" + city + ", county=" + county + ", township="
				+ township + ", village=" + village + ", gates=" + gates + ", address_province=" + address_province
				+ ", address_city=" + address_city + ", address_county=" + address_county + ", getaddress_province()="
				+ getaddress_province() + ", getAddress_city()=" + getAddress_city() + ", getAddress_county()="
				+ getAddress_county() + ", getId()=" + getId() + ", getProvince()=" + getProvince() + ", getCity()="
				+ getCity() + ", getCounty()=" + getCounty() + ", getTownship()=" + getTownship() + ", getVillage()="
				+ getVillage() + ", getGates()=" + getGates() + ", getClass()=" + getClass() + ", hashCode()="
				+ hashCode() + ", toString()=" + super.toString() + "]";
	}
    
}